package com.adopapa.nezhacloud.ddd.codegen;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface SqlGen {

	public final String METHOD_GET = "GET";
	public final String METHOD_POST = "POST";
	public final String METHOD_PUT = "PUT";
	public final String METHOD_DELETE = "DELETE";

	String[] path() default "";

	String method() default "GET"; // GET,POST,DELETE,PUT

	String[] name() default "";

	String note() default "";

}
